package com.wzc.user.mapper;


import com.wzc.basic.mapper.BaseMapper;
import com.wzc.user.domain.Logininfo;
import com.wzc.user.dto.LoginDto;

/**
 * mapper接口
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {


    Logininfo getLogininfoByDto(LoginDto dto);

    /**
     * 根据user_id查询logininfo
     * @param user_id
     * @return
     */
    Logininfo loadByUserId(Long user_id);
}
